package com.hnjfzn.auth;

import com.hnjfzn.common.security.config.ApplicationConfig;
import com.hnjfzn.common.security.feign.FeignAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import com.hnjfzn.common.security.annotation.EnableCustomFeignClients;
import org.springframework.context.annotation.Import;

/**
 * 认证授权中心
 */
// 自动加载类
@Import({ FeignAutoConfiguration.class })
@EnableCustomFeignClients
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class AuthApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(AuthApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  认证授权中心启动成功   ლ(´ڡ`ლ)ﾞ ");
    }
}
